using System;
using System.Reflection;
using Bosphorus.Library.Dao.Facade;
using Bosphorus.Library.Dao.Facade.Facade.Base;

namespace Bosphorus.Integration.Jira.Thor.WebService
{
    public class Global : System.Web.HttpApplication
    {

        protected void Application_Start(object sender, EventArgs e)
        {
            Repository.Domain.Live.Loader.Load(Assembly.Load("Bosphorus.Integration.Jira.Thor.Dal"), "Bosphorus.Integration.Jira.Thor.Dal.Repository.Domain.Live.xml");
            Repository.Domain.Cache.Loader.Load(Assembly.Load("Bosphorus.Integration.Jira.Thor.Dal"), "Bosphorus.Integration.Jira.Thor.Dal.Repository.Domain.Cache.xml");            
            Repository.View.Live.Loader.Load(Assembly.Load("Bosphorus.Integration.Jira.Thor.Dal"), "Bosphorus.Integration.Jira.Thor.Dal.Repository.View.Live.xml");
        }

        protected void Application_End(object sender, EventArgs e)
        {
        }
    }
}